<!DOCTYPE html>
<html style="background-color: #ff1370;">

	<head>
		<meta charset="utf-8" />
		<title>邀请好友</title>
		<style type="text/css">
			html,body{height: 100%}
		</style>
	</head>
	<body>
		<div style="height: 22%;font-size: 85px;text-align: center;">邀请好友扫描二维码</div>
		<div class="erweima_con" style="background: url(__INDEX__/images/pay_code.jpg) no-repeat;background-size: 100% auto; height: 79%;">
				<div class="payment_conbox" id='payment_conbox'>
					<div class="sherweimabox">
						<div class="payment_erweima"  >
							<div id="qrcode" style="text-align: center;"></div>
						</div>
					</div>
				</div>
			</div>
	</body>
</html>
{include file="public/footer" /}
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.form.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.qrcode.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/utf.js"></script>
<script>
	var index = layer.load(0, {shade: false,time: 1 * 1000});
	$(".layui-layer-loading").css("left", "50%");
	var url = "{$code_url}";
	 $("#qrcode").qrcode({
        render 		: "canvas",    		//设置渲染方式，有table和canvas，使用canvas方式渲染性能相对来说比较好
        text 		: url,    		//扫描二维码后显示的内容,可以直接填一个网址，扫描二维码后自动跳向该链接
        width 		: "360",    	//二维码的宽度
        height 		: "360",    	//二维码的高度
        background 	: "#ffffff",    //二维码的后景色
        foreground 	: "#000000",    //二维码的前景色
    });
   
</script>
